package com.JavaBean.Ord_Rol_Use;

import java.util.Date;

public class Orders {
    private int order_id;
    private Date  ordertime;
    private Double total;
    private int uuid;
private User user;

    public Orders() {
    }

    public Orders(int order_id, Date ordertime, Double total, int uuid, User user) {
        this.order_id = order_id;
        this.ordertime = ordertime;
        this.total = total;
        this.uuid = uuid;
        this.user = user;
    }

    /**
     * 获取
     * @return order_id
     */
    public int getOrder_id() {
        return order_id;
    }

    /**
     * 设置
     * @param order_id
     */
    public void setOrder_id(int order_id) {
        this.order_id = order_id;
    }

    /**
     * 获取
     * @return ordertime
     */
    public Date getOrdertime() {
        return ordertime;
    }

    /**
     * 设置
     * @param ordertime
     */
    public void setOrdertime(Date ordertime) {
        this.ordertime = ordertime;
    }

    /**
     * 获取
     * @return total
     */
    public Double getTotal() {
        return total;
    }

    /**
     * 设置
     * @param total
     */
    public void setTotal(Double total) {
        this.total = total;
    }

    /**
     * 获取
     * @return uuid
     */
    public int getUuid() {
        return uuid;
    }

    /**
     * 设置
     * @param uuid
     */
    public void setUuid(int uuid) {
        this.uuid = uuid;
    }

    /**
     * 获取
     * @return user
     */
    public User getUser() {
        return user;
    }

    /**
     * 设置
     * @param user
     */
    public void setUser(User user) {
        this.user = user;
    }

    public String toString() {
        return "Orders{order_id = " + order_id + ", ordertime = " + ordertime + ", total = " + total + ", uuid = " + uuid + ", user = " + user + "}";
    }
}
